.TH TRISTATE_BIT "9" "2020-08-11" "LinuxCNC Documentation" "HAL Component"
.de TQ
.br
.ns
.TP \\$1
..

.SH NAME

tristate_bit \- Place a signal on an I/O pin only when enabled, similar to a tristate buffer in electronics
.SH SYNOPSIS
.HP
.B loadrt tristate_bit [count=\fIN\fB|names=\fIname1\fB[,\fIname2...\fB]]
.SH FUNCTIONS
.TP
\fBtristate-bit.\fIN\fB\fR
If \fBenable\fR is TRUE, copy \fBin\fR to \fBout\fR.
.SH PINS
.TP
.B tristate-bit.\fIN\fB.in\fR bit in \fR
Input value
.TP
.B tristate-bit.\fIN\fB.out\fR bit io \fR
Output value
.TP
.B tristate-bit.\fIN\fB.enable\fR bit in \fR
When TRUE, copy in to out
.SH LICENSE

GPL
